/*
This is the bootstrap/load file of an html page using requirejs.
In the html page, requirejs is the only script being included/loaded.

The configuration in require.config below sets-up the directory of the scripts needed for loading.

In the require command below, re_websql is being loaded. It in turn loads it's dependencies, which
are re and re_sqlparser (re is loaded through re_sqlparser).

Note that re is introduced by the file standard/re.base.js, and NOT by the final build file (i.e. re.js).
This is so that it would be possible to load this library's files independently or as a whole.
*/
require.config({
    baseUrl : "../../"
    
   ,paths : {
        re : "standard/re.base"
       ,re_sqlparser : "standard/re.sqlparser"
       ,re_websql : "standard/re.websql"
       ,jquery  : 'standard/jquery-1.7.2'
       ,jqueryindexeddb  : 'standard/jQueryIndexedDB'
    }
    
});

require(['re_websql'], function(){

    console.log(window.re);
    //check if methods introduced by re.base is useable.
    console.log(arguments);

});